package coffeeshop.condiments;

import coffeeshop.Beverage;
import coffeeshop.CondimentDecorator;

public class WhippedCream extends CondimentDecorator {

	private String description = "bity kremik";
	Beverage beverage;
	double price = 1.0;
	
	public WhippedCream( Beverage beverage ){
		this.beverage = beverage;
	}
	
	public double getPrice(){
		return price + beverage.getPrice();
	}
	
	public String getDescription(){
		return beverage.getDescription() + " " + description;
	}
	
}
